package parameters;

import java.awt.Color;

/**
 * This class lists all the parametrable variables
 * linked to the GUI.
 * 
 * @author Urbanek Lucas (aka NaG)
 */
public class GUIParameters {

	private static Color gunnerColor = new Color(255, 128, 0);
	private static Color rifleColor = new Color(0, 255, 0);
	private static Color sniperColor = new Color(0, 0, 255);
	
	public static Color PATH_COLOR = Color.red;
	public static Color GRENADE_COLOR = Color.blue;
	public static Color LOS_COLOR = Color.green;
	public static Color STRING_COLOR = Color.lightGray;
	
	// Scale is defined such that :
	// guiPixel = scale*mapPixel
	public static double scale = 5;
	
	public static void setScale(double scale_) {
		scale = scale_;
	}
	
	public static void setPathColor(Color c) {
		PATH_COLOR = c;
	}
	
	public static void setGrenadeColor(Color c) {
		GRENADE_COLOR = c;
	}
	
	public static void setLOSColor(Color c) {
		LOS_COLOR = c;
	}
	
	public static void setStringColor(Color c) {
		STRING_COLOR = c;
	}
	
	public static Color getGunnerColor() {
		return gunnerColor;
	}
	public static void setGunnerColor(Color gunnerColor) {
		GUIParameters.gunnerColor = gunnerColor;
	}
	public static Color getRifleColor() {
		return rifleColor;
	}
	public static void setRifleColor(Color rifleColor) {
		GUIParameters.rifleColor = rifleColor;
	}
	public static Color getSniperColor() {
		return sniperColor;
	}
	public static void setSniperColor(Color sniperColor) {
		GUIParameters.sniperColor = sniperColor;
	}
	
}
